package com.tjsinfo.tjsoa.mail.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.tjsinfo.tjsoa.system.vo.TSystemUser;



/**
 * TjsDeleteEmail entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TjsDeleteEmail implements java.io.Serializable {

	// Fields

	private String tjsmailId;
	private Integer tjsmailUserid;
	private String tjsmailTitle;
	private String tjsmailValue;
	private Date tjsmailDatatime;
	private Integer tjsmailType;
	private Integer tjsmailStart;
	private Integer tismailRead;
	private Integer tismailTag;
	private String tjsmailzhusong;
	private String tjsmailchaosong;
	private String tjsmailmisong;
	private String tjsmailsendren;
	private String tjsmailUsername;
	private Integer sortid;
	private Set tjsDeleteEmailAnnexes = new HashSet(0);

	// Constructors

	public String getTjsmailsendren() {
		return tjsmailsendren;
	}

	public void setTjsmailsendren(String tjsmailsendren) {
		this.tjsmailsendren = tjsmailsendren;
	}

	public String getTjsmailzhusong() {
		return tjsmailzhusong;
	}

	public void setTjsmailzhusong(String tjsmailzhusong) {
		this.tjsmailzhusong = tjsmailzhusong;
	}

	public String getTjsmailchaosong() {
		return tjsmailchaosong;
	}

	public void setTjsmailchaosong(String tjsmailchaosong) {
		this.tjsmailchaosong = tjsmailchaosong;
	}

	public String getTjsmailmisong() {
		return tjsmailmisong;
	}

	public void setTjsmailmisong(String tjsmailmisong) {
		this.tjsmailmisong = tjsmailmisong;
	}

	/** default constructor */
	public TjsDeleteEmail() {
	}

	/** minimal constructor */
	public TjsDeleteEmail(Integer tjsmailUserid,String tjsmailTitle,
			Date tjsmailDatatime, Integer tjsmailType, Integer tjsmailStart,
			Integer tismailRead, Integer tismailTag,String tjsmailUsername) {
		this.tjsmailUserid = tjsmailUserid;
		this.tjsmailTitle = tjsmailTitle;
		this.tjsmailDatatime = tjsmailDatatime;
		this.tjsmailType = tjsmailType;
		this.tjsmailStart = tjsmailStart;
		this.tismailRead = tismailRead;
		this.tismailTag = tismailTag;
		this.tjsmailUsername = tjsmailUsername;
	}

	/** full constructor */
	public TjsDeleteEmail(Integer tjsmailUserid,String tjsmailTitle,
			String tjsmailValue, Date tjsmailDatatime, Integer tjsmailType,
			Integer tjsmailStart, Integer tismailRead, Integer tismailTag,
			Set tjsDeleteEmailAnnexes,String tjsmailUsername) {
		this.tjsmailUserid = tjsmailUserid;
		this.tjsmailTitle = tjsmailTitle;
		this.tjsmailValue = tjsmailValue;
		this.tjsmailDatatime = tjsmailDatatime;
		this.tjsmailType = tjsmailType;
		this.tjsmailStart = tjsmailStart;
		this.tismailRead = tismailRead;
		this.tismailTag = tismailTag;
		this.tjsDeleteEmailAnnexes = tjsDeleteEmailAnnexes;
		this.tjsmailUsername = tjsmailUsername;
	}

	// Property accessors

	public String getTjsmailId() {
		return this.tjsmailId;
	}

	public void setTjsmailId(String tjsmailId) {
		this.tjsmailId = tjsmailId;
	}

	public Integer getTjsmailUserid() {
		return tjsmailUserid;
	}

	public void setTjsmailUserid(Integer tjsmailUserid) {
		this.tjsmailUserid = tjsmailUserid;
	}

	public String getTjsmailTitle() {
		return this.tjsmailTitle;
	}

	public void setTjsmailTitle(String tjsmailTitle) {
		this.tjsmailTitle = tjsmailTitle;
	}

	public String getTjsmailValue() {
		return this.tjsmailValue;
	}

	public void setTjsmailValue(String tjsmailValue) {
		this.tjsmailValue = tjsmailValue;
	}

	public Date getTjsmailDatatime() {
		return this.tjsmailDatatime;
	}

	public void setTjsmailDatatime(Date tjsmailDatatime) {
		this.tjsmailDatatime = tjsmailDatatime;
	}

	public Integer getTjsmailType() {
		return this.tjsmailType;
	}

	public void setTjsmailType(Integer tjsmailType) {
		this.tjsmailType = tjsmailType;
	}

	public Integer getTjsmailStart() {
		return this.tjsmailStart;
	}

	public void setTjsmailStart(Integer tjsmailStart) {
		this.tjsmailStart = tjsmailStart;
	}

	public Integer getTismailRead() {
		return this.tismailRead;
	}

	public void setTismailRead(Integer tismailRead) {
		this.tismailRead = tismailRead;
	}

	public Integer getTismailTag() {
		return this.tismailTag;
	}

	public void setTismailTag(Integer tismailTag) {
		this.tismailTag = tismailTag;
	}

	public Set getTjsDeleteEmailAnnexes() {
		return this.tjsDeleteEmailAnnexes;
	}

	public void setTjsDeleteEmailAnnexes(Set tjsDeleteEmailAnnexes) {
		this.tjsDeleteEmailAnnexes = tjsDeleteEmailAnnexes;
	}
	
	public void addAnnexes(TjsDeleteEmailAnnex emailAnnex)
	{
		tjsDeleteEmailAnnexes.add(emailAnnex);
		emailAnnex.setTjsDeleteEmail(this);
	}

	public Integer getSortid() {
		return sortid;
	}

	public void setSortid(Integer sortid) {
		this.sortid = sortid;
	}

	public String getTjsmailUsername() {
		return tjsmailUsername;
	}

	public void setTjsmailUsername(String tjsmailUsername) {
		this.tjsmailUsername = tjsmailUsername;
	}

}